package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.Distract;
import com.ruoyi.system.domain.Users;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
@Repository
public interface DistractMapper {
    List<Users> getPublicFacilityOptions();

    List<Users> getPrivateFacilityOptions();

    List<Users> getManagerOptions();

    int addHouse(Distract distract);

    int addHouseStyle(Distract distract);

    int addHouseUrl(Distract distract);

    int addRoomUrl(@Param("frontCover") String frontCover,@Param("roomId") String roomId);

    String[] selectRoomId(String houseId);
}
